//导入 axios
import axios from 'axios';

//创建实例  
let instance = axios.create({
  baseURL: 'http://api.xiaohigh.com'
});

//设置响应拦截器
instance.interceptors.response.use(response => {
  //返回响应体结果
  return response.data;
});

//暴露
export default instance;